<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <div class="col-xs-12 col-sm-8">
            <input id="c-id" data-rule="required" class="form-control" name="row[id]" type="hidden" value="{$row.id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">姓名:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[agency][real]" type="text"  readonly value="{$row.branch_office_info.realname}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-card" class="control-label col-xs-12 col-sm-2">身份证号:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-card" data-rule="required" class="form-control" name="row[agency][card]" type="number" readonly value="{$row.branch_office_info.id_card}">

        </div>
    </div>
    <div class="form-group">
        <label for="c-card_front_img" class="control-label col-xs-12 col-sm-2">身份证正面照:</label>
        <div class="col-xs-12 col-sm-8">
            <a href="javascript:void(0);" >
                <img src="{$row.branch_office_info.card_front_img}" alt="" style="max-width: 200px">
            </a>
        </div>
    </div>
    <div class="form-group">
        <label for="c-card_back_img" class="control-label col-xs-12 col-sm-2">身份证背面照:</label>
        <div class="col-xs-12 col-sm-8">
            <a href="javascript:void(0);" >
                <img src="{$row.branch_office_info.card_back_img}" alt="" style="max-width: 200px">
            </a>
        </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">公司名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input  class="form-control" name="row[area]" type="text"  readonly value="{$row.branch_office_info.company_name}">
        </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">企业法人:</label>
        <div class="col-xs-12 col-sm-8">
            <input  class="form-control" name="row[area]" type="text"  readonly value="{$row.branch_office_info.legal_person}">
        </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">执照注册号:</label>
        <div class="col-xs-12 col-sm-8">
            <input  class="form-control" name="row[area]" type="text"  readonly value="{$row.branch_office_info.registration_number}">
        </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">营业执照:</label>
        <div class="col-xs-12 col-sm-8">
            <a href="javascript:void(0);" >
                <img src="{$row.branch_office_info.business_license}" alt="" style="max-width: 200px">
            </a>
        </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">开户许可证:</label>
        <div class="col-xs-12 col-sm-8">
            <a href="javascript:void(0);" >
                <img src="{$row.branch_office_info.licence_for_opening_accounts}" alt="" style="max-width: 200px">
            </a>
        </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">经营场所租赁合同或产权证:</label>
        <div class="col-xs-12 col-sm-8">
            <a href="javascript:void(0);" >
                <img src="{$row.branch_office_info.title_deed}" alt="" style="max-width: 200px">
            </a>
        </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">经营场所环境图:</label>
        <div class="col-xs-12 col-sm-8">
            {foreach $context_diagram as $item}
            <a href="javascript:void(0);" >
                <img src="{$item}" alt="" style="max-width: 200px">
            </a>
            {/foreach}
        </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">公司所在地:</label>
        <div class="col-xs-12 col-sm-8">
            <input  class="form-control" name="row[area]" type="text"  readonly value="{$row.area}">
        </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">详细地址:</label>
        <div class="col-xs-12 col-sm-8">
            <input  class="form-control" name="row[area]" type="text"  readonly value="{$row.branch_office_info.detailed_address}">
        </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">客服电话:</label>
        <div class="col-xs-12 col-sm-8">
            <input  class="form-control" name="row[area]" type="text"  readonly value="{$row.branch_office_info.service_tel}">
        </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">户名:</label>
        <div class="col-xs-12 col-sm-8">
            <input  class="form-control" name="row[area]" type="text"  readonly value="{$row.branch_office_info.account_name}">
        </div>
    </div>

    <div class="form-group">
        <label for="c-account" class="control-label col-xs-12 col-sm-2">开户账号:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-account" class="form-control" name="row[agency][account]" type="text" readonly value="{$row.branch_office_info.account_number}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-phone" class="control-label col-xs-12 col-sm-2">银行所在地:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone" class="form-control" name="row[phone]" type="text"  readonly value="{$row.branch_office_info.bank_location}">
        </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">开户行:</label>
        <div class="col-xs-12 col-sm-8">
            <input for="c-phone" class="form-control" name="row[phone]" type="text"  readonly value="{$row.branch_office_info.opening_bank}">
        </div>
    </div>
    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">账号（手机号）:</label>
        <div class="col-xs-12 col-sm-8">
            <input for="c-phone" class="form-control" name="row[phone]" type="text"  readonly value="{$row.phone}">
        </div>
    </div>
    <!--<div class="form-group layer-footer">-->
        <!--<label class="control-label col-xs-12 col-sm-2"></label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>-->
            <!--<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
        <!--</div>-->
    <!--</div>-->
</form>
